package com.ev.hr.dao;

import com.ev.hr.domain.SalaryFormulaChildDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 计算公式方案子表
 * @author ev-monitor
 * @email 286600136@qq.com
 * @date 2020-05-06 10:32:23
 */
@Mapper
public interface SalaryFormulaChildDao {

	SalaryFormulaChildDO get(Long id);
	
	List<SalaryFormulaChildDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(SalaryFormulaChildDO salaryFormulaChild);
	
	int update(SalaryFormulaChildDO salaryFormulaChild);

	int updateAll(SalaryFormulaChildDO salaryFormulaChild);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int batchUpdate(List<SalaryFormulaChildDO> param);

    int removeByMainId(Long mainId);

    List<Map<String, Object>> listForMap(Map<String, Object> param);
}
